package com.example.stock.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DataVo {

    private LocalDateTime tradeTime;

    private double price;

    private String tsCode;

    public DataVo(LocalDateTime tradeTime, double price) {
        this.tradeTime = tradeTime;
        this.price = price;
    }
}
